#include <bits/stdc++.h>

std::mt19937 rnd(std::chrono::steady_clock::now().time_since_epoch().count());

int main() {
	int n = rnd() % 8 + 1;
	for(int i = 1; i <= n; ++i) std::cout << char('A' + rnd() % 2); std::cout << "\n";
	return 0;
}
